﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day02Night
{
    public class Circle : Calculate
    {
        public float Radius
        {
            get;
            set;
        }

        public override float CalculateArea()
        {
            return (float)(Math.PI * Math.Pow(Radius, 2));
        }

        public override float CalculatePerimeter()
        {
            return (float)(2*Math.PI * Radius);
        }
    }
}